package com.gxh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_history")
@ApiModel("用户历史记录")
public class UserHistory implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("用户历史记录id")
    private Long id;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("机械设备id")
    private Long machineId;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
